﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DAL;
namespace BLL
{
    public    class UserInfoBLL
    {
        UserInfoDAL udl = new UserInfoDAL();
        public DataTable UserInfoShow(string random) //用户信息显示
        {
            return udl.UserInfoShow(random);
        }
        public bool UserInfoModify(string uname, string mail, string sex, int randomcnum,int id)  //修改个人信息
        {
            int a= udl.UserInfoModify(uname, mail, sex, randomcnum, id);
            if (a > 0)
            {
                return true;
            }
            else
            {
                return false;
            }
        }
    }
}
